<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	    <title><fmt:message key="systemUserDetail.heading"/></title>
	    <script language="javascript" type="text/javascript">
			function changeCode(){
				document.getElementById("img").src="${ctxPath}/VCodeServlet?"+(new Date()).getTime();
				setTimeout("changeCode()",1000*900);		//每十五分钟更换一次
			}
			function checkForm()
			{
				var orderNo=document.getElementById("orderNo").value;
				var phone=document.getElementById("phone").value;
				var code=document.getElementById("valiCode").value;
				if(orderNo.length==0 && phone.length==0)
				{
					alert("订单号和手机号必填一项");
					return false;
				}
				if(code=="")
				{
					alert("验证码必填");
					return false;
				}
				document.all.searchForm.submit();
			}
	    </script>
  </head>
  <body>
	<ul class="enroll_top"><img src="${ctxPath}/resource/member/image/members/enroll_title.gif" width="816" height="8"/></ul>
	<ul class="enroll">
		<li class="enter_title"><img src="${ctxPath}/resource/member/image/members/enter.gif" width="17" height="16" align="absmiddle"/>美瀛在线查询支付</li>
		<li  class="enter_center">
			<form action="orders.do?cmd=logoutOrders" name="searchForm" method="post">
			<table width="48%"  border="0" cellspacing="0" cellpadding="0">
			    <tr>
    				<td class="enter_right_info">&nbsp;&nbsp;&nbsp;&nbsp;<h3>查询机票,酒店订单</h3></td>
  				</tr>
  				<tr>
    				<td class="enter_right_info">订单号： <input type="text" id="orderNo" name="Q_orderNo_S_EQ" class="enrollbox120"/></td>
  				</tr>
  				<tr>
    				<td class="enter_right_info">手机号： <input type="text" id="phone" name="Q_contactMob_S_EQ" class="enrollbox120"/></td>
  				</tr>
  				<tr>
    				<td class="enter_right_info">验证码：<input id="valiCode" name="valiCode"  style="width:60px;" maxlength="5" title="请输入下面的验证码，不区分大小写。" />
			        <img align="absmiddle" src="${ctxPath}/VCodeServlet" alt="点击可刷新验证码" onclick="changeCode()" id="img"></td>
  				</tr>
  				<tr>
    				<td class="enter_right_info">&nbsp;&nbsp;&nbsp;&nbsp;
    				<input type="button" name="Submit" value="查询详情"  class="enter_sumbit" onclick="checkForm()"/>
    				<font color="red">${param.key=="deleteCode"?"":msg}</font>
    				</td>
  				</tr>
			</table>
			
			</form>
		</li>
	</ul>
	<ul class="enroll_bottom"><img src="${ctxPath}/resource/member/image/members/enroll_last.gif" width="816" height="8"/></ul>

</body>
</html>
